package com.dao;

import com.domain.Account;

import java.util.List;

public interface IAccountDao {
    Account findByName(String name);
    Account findById(Integer id);
    List<Account> findAll();
    void deleteAccountById(Integer id);
    void deleteAccountByName(String name);
    void deleteAccount(Account account);
    Integer updateAccount(Account account);
    Integer addAccount(Account account);
}
